import "lib-flexible"
import { createApp } from 'vue'
import App from './App.vue'

import tabbar from './components/tabbar.vue'
import page from './components/page.vue'
import swiper from './components/swiper.vue'
import item from './components/item.vue'

import router from './router'
import { createPinia } from 'pinia'
// import { store, key } from '@/state'

const app = createApp(App)
const pinia = createPinia()

app.component(item)
app.component(swiper)
app.component(tabbar)
app.component(page)

app.use(router)
app.use(pinia)

app.mount('#app')
